GBML manual / Drawing

animation_stop

Stops this object’s animation where it is. The picture stays on the frame it reached, and sprite, frame and frame_speed work by hand again.

Works differently on Game Boy - Animations play as on the Advance, with smaller limits: a frame lasts up to 650 sixtieths of a second, a frame has at most 4 boxes of each kind, and a game has up to 255 animations.

Works differently on Game Boy Color - Animations play as on the Advance, with smaller limits: a frame lasts up to 650 sixtieths of a second, a frame has at most 4 boxes of each kind, and a game has up to 255 animations.

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

animation_stop()

Returns

Nothing.

Description

Stops this object's animation where it is. The picture stays on the frame it reached, and sprite, frame and frame_speed work by hand again.

Example

animation_stop();

Freezes the object on the picture it shows now.

See also: Animationsanimation_playframe_speed